Skip to content

Conversation

@SvenP91
Copy link
Contributor

@SvenP91 SvenP91 commented Aug 5, 2025

Fix ti CCS compiler errors

Description

Fixed some ti compiler related issues:

  • source\FreeRTOS_DNS_Parser.c, line 278:
    error 551-D: variable "xDNSHookReturn" is used before its value is set
    --> 265: BaseType_t xDNSHookReturn = 0U;

  • source\FreeRTOS_IPv6.c, line 102:
    error 193-D: type qualifier is meaningless on cast type
    --> 102: const uint8_t * const pucEthernetBuffer = ( const uint8_t *) pvEthernetBuffer;

  • same in:

    • source\FreeRTOS_IPv6.c, line 106
    • source/FreeRTOS_IPv4.c, line 85
    • source\FreeRTOS_RA.c, line 332:
  • error 552-D: variable "ulMTU" was set but never used
    --> guard by ifdef ipconfigHAS_PRINTF

  • removed vNDSendUnsolicited() as described in https://forums.freertos.org/t/unused-variable-in-freertos-nd-c-xlastunsolicitedndtime/23347

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#1273

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@SvenP91 SvenP91 requested a review from a team as a code owner August 5, 2025 09:37
@tony-josi-aws
Copy link
Member

To fix the formatting check, please apply this patch found here.

@moninom1 moninom1 changed the title Fix ti CCS compiler errors Fix TI CCS compiler errors Aug 6, 2025
@tony-josi-aws tony-josi-aws merged commit d389e8b into FreeRTOS:main Aug 6, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants